package com.nineclock.api.sign;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nineclock.common.entity.PageResult;
import com.nineclock.common.entity.Result;
import com.nineclock.sign.dto.SignPCListDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import com.nineclock.common.entity.Result;
import com.nineclock.sign.dto.SignAllUserDTO;
import com.nineclock.sign.dto.SignDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "签到服务接口管理",tags = "签到服务", description="签到组管理接口")
public interface SignControllerApi {
    @ApiOperation(value = "签到:分页查询签到列表")
    public Result<PageResult<SignPCListDTO>> querySignList(Integer page , Integer pageSize, String startTime, String endTime);

    @ApiOperation(value = "APP:签到")
    public Result sign(SignDTO signDTO);

    @ApiOperation(value = "查看签到次数" )
    public Result<Integer> examine();

    @ApiOperation(value = "APP:查询本月签到记录")
    public Result<List<SignDTO>> pagingSignCurrentUserByMonth(String dateStr);

    @ApiOperation(value = "APP: 获取团队员工打卡列表")
    public Result<List<SignAllUserDTO>> listSignAllUser(String dateStr);

}
